package com.jianyun.jyzs.model.imdoel;

/**
 * Created by yangshijun on 2018/5/28.
 */

public interface IUpdataPwdModel {
    /**
     * 更改密码
     * @param enterpriseCode
     * @param userId
     * @param oldPwd
     * @param newPwd
     */
    void updataPwd(String enterpriseCode,
                   String userId, String oldPwd, String newPwd,OnUpdataPwdListener onUpdataPwdListener);

    public interface OnUpdataPwdListener {
        void onSuccess();

        void onFailed();

        void onException(String msg);
    }
}
